{foreach from=$objects item=item key=object_id}
<div class="portfolio-item">
    <a href="/{$object_id}-{$item.name|replace:' ':'_'}" target="_blank" onclick="return GB_objShow('{$item.name}', '/php/object.php?id={$object_id}');"><img src="/images/objects/thumbs/{$item.thumb_src}" alt="{$item.name}" border="0" /></a>
    <h2><a href="#" title="{$item.name|replace:' ':'_'}" target="_blank" onclick="return GB_objShow('{$item.name}', '/php/object.php?id={$object_id}');" >{$item.name}</a></h2>
    <p>{$item.type}</p>
</div>
{/foreach}